//2009/08/20 01:28:28
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <math.h>
#include <sstream>
#include <algorithm>

using namespace std;

class RugSizes
{
public:
    int rugCount(int area)
    {
        int ret = 0;
        for (int i=1; i<=sqrt(area); i++)
            if (area % i == 0)
            {
                if (area / i == i)
                {
                    ret++;
                    continue;
                }
                if (!(i%2==0&&(area/i)%2==0)) ret++;
            }
        return ret;
    }
};
